<?php
/* @var $this MessageController */
/* @var $model Message*/
$this->pageTitle = Yii::app()->name.'-'.'信息管理-详情';
$this->breadcrumbs=array(
	'Room',
);
?>
<!-- Page Head -->
			<h2><?php echo CHtml::link("房间操作",$this->createUrl("room/index"));?></h2>
					<?php echo $this->renderPartial("topMenu");?>
			
			<div class="content-box">
			<!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>房间详细-<?php echo $model->Titile;?></h3>
					
					<div class="clear"></div>
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content" >
								<div class="row">

									<ul>
										<li>	<span><?php echo CHtml::activeLabel($model, "Titile"); ?>:</span>
										<?php echo CHtml::encode($model->Titile);?>
										</li>
											
									</ul>
								
								</div>
								<div class="row">

									<ul>
										<li>	<span><?php echo CHtml::activeLabel($model, "Content"); ?>:</span>
										<?php echo CHtml::encode($model->Content);?>
										</li>											
									</ul>
								</div>								
								<div class="row">

									<ul>
										<li>	<span><?php echo CHtml::activeLabel($model, "MsgSender"); ?>:</span>
                                                                                <?php
                                                                                    if($model->MsgSender!=0):
                                                                                        echo CHtml::encode($model->SenderUser->UserName);
                                                                                    else:
                                                                                        echo Yii::app()->params['SystemUser'];                                                                                  
                                                                                    endif;
                                                                                ?>
										</li>											
									</ul>
								</div>
                                    				<div class="row">

									<ul>
										<li>	<span><?php echo CHtml::activeLabel($model, "MsgReciever"); ?>:</span>
                                                                                <?php
                                                                                    if($model->MsgSender!=0):
                                                                                        echo CHtml::encode($model->RecieveUser->UserName);
                                                                                    else:
                                                                                        echo Yii::app()->params['SystemUser'];                                                                                  
                                                                                    endif;
                                                                                ?>
										</li>											
									</ul>
									</div>
									<div class="row">
									<ul>
										<li>	<span><?php echo CHtml::activeLabel($model, "MsgSended"); ?>:</span>
                                                                                <?php
																					echo CHtml::encode(Yii::app()->params['MsgSended'][$model->MsgSended]);
                                                                                ?>
										</li>
										<li>
												<span><?php echo CHtml::activeLabel($model, "Msgtype"); ?>:</span>
												<?php
																					echo CHtml::encode(Yii::app()->params['Msgtype'][$model->Msgtype]);
                                                                                ?>
										</li>
									</ul>
									</div>
								</div>
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
